<template>
  <div class="reg-nav">
    <van-nav-bar>
        <template #left>
            <van-icon name="arrow-left" size="22" color="#fff" @click="onClickLeft"/>
        </template>
    </van-nav-bar>
  </div>
</template>

<script>
export default {
  name: '',
  data() {
    return {}
  },
  methods:{
     onClickLeft() {
      this.$router.back()
    },
  }
}
</script>

<style lang="scss" scoped>
.reg-nav {
    width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}
.reg-nav ::v-deep {
    .van-nav-bar {
        background: transparent;
        
       
    }
     [class*=van-hairline]::after {
            border: none;
        }
}
</style>
